



#ifndef __UARTCOMMUNACTION__
#define __UARTCOMMUNACTION__


#ifdef	__UARTCOMM__
#define EXTR
#else
#define EXTR extern
#endif





void Uart_Control();
void Uart_Display(UINT8, UINT8);
void Uart_PC(UINT8);


void Uart_DisplayPacketSendControl(UINT8);
void Uart_DisplayPacketRecviveControl(UINT8);
void Uart_OptionPacketSendControl(UINT8);
void Uart_OptionPacketRecviveControl(UINT8);
void Uart_PCPacketSendControl(UINT8);
void Uart_PCPacketRecviveControl(UINT8);



static const T_UartCommDef UART_Control[] =
{
	{Uart_DisplayPacketSendControl,	Uart_DisplayPacketRecviveControl },

	{Uart_OptionPacketSendControl,	Uart_OptionPacketRecviveControl },

	{Uart_PCPacketSendControl,	Uart_PCPacketRecviveControl },
};



void MWI_UART_DispStartUartInterrupt(UINT8, UINT8);
void MWI_UART_PCStartUartInterrupt(UINT8, UINT8);

void func_uart_disp_tx_packet(UINT8*);
void func_uart_disp_rx_packet(UINT8*);

void func_uart_pc_tx_packet(UINT8*);
void func_uart_pc_rx_packet(UINT8*);


#undef EXTR
#endif